home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / epex1000.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  26.0 KB  |  914 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "EPEX1000.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Epson EX-1000"
  10. *MasterUnits: PAIR(720, 432)
  11. *ResourceDLL: "ep9res.dll"
  12. *PrintRate: 250
  13. *PrintRateUnit: CPS
  14. *PrinterType: SERIAL
  15. *Feature: Orientation
  16. {
  17.     *rcNameID: =ORIENTATION_DISPLAY
  18.     *DefaultOption: PORTRAIT
  19.     *Option: PORTRAIT
  20.     {
  21.         *rcNameID: =PORTRAIT_DISPLAY
  22.     }
  23.     *Option: LANDSCAPE_CC270
  24.     {
  25.         *rcNameID: =LANDSCAPE_DISPLAY
  26.     }
  27. }
  28. *Feature: InputBin
  29. {
  30.     *rcNameID: =PAPER_SOURCE_DISPLAY
  31.     *DefaultOption: TRACTOR
  32.     *Option: TRACTOR
  33.     {
  34.         *rcNameID: =TRACTOR_DISPLAY
  35.     }
  36.     *Option: MANUAL
  37.     {
  38.         *rcNameID: =MANUAL_FEED_DISPLAY
  39.     }
  40.     *Option: Option3
  41.     {
  42.         *rcNameID: 259
  43.         *Command: CmdSelect
  44.         {
  45.             *Order: DOC_SETUP.3
  46.             *Cmd: "<1B19>4<1B19>1"
  47.         }
  48.     }
  49.     *Option: Option4
  50.     {
  51.         *rcNameID: 260
  52.         *Command: CmdSelect
  53.         {
  54.             *Order: DOC_SETUP.3
  55.             *Cmd: "<1B19>4<1B19>2"
  56.         }
  57.     }
  58. }
  59. *Feature: Resolution
  60. {
  61.     *rcNameID: =RESOLUTION_DISPLAY
  62.     *DefaultOption: Option1
  63.     *Option: Option1
  64.     {
  65.         *Name: "120 x 144 " =DOTS_PER_INCH
  66.         *DPI: PAIR(120, 144)
  67.         *TextDPI: PAIR(120, 144)
  68.         *PinsPerLogPass: 16
  69.         *PinsPerPhysPass: 8
  70.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  71.         *SpotDiameter: 140
  72.         *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  73.     }
  74.     *Option: Option2
  75.     {
  76.         *Name: "240 x 144 " =DOTS_PER_INCH
  77.         *DPI: PAIR(240, 144)
  78.         *TextDPI: PAIR(240, 144)
  79.         *PinsPerLogPass: 16
  80.         *PinsPerPhysPass: 8
  81.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  82.         *SpotDiameter: 170
  83.         *Command: CmdSendBlockData { *Cmd : "<1B>Z" %l{NumOfDataBytes} }
  84.     }
  85.     *Option: Option3
  86.     {
  87.         *Name: "120 x 72 " =DOTS_PER_INCH
  88.         *DPI: PAIR(120, 72)
  89.         *TextDPI: PAIR(120, 72)
  90.         *PinsPerLogPass: 8
  91.         *PinsPerPhysPass: 8
  92.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  93.         *SpotDiameter: 100
  94.         *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  95.     }
  96. }
  97. *Feature: PaperSize
  98. {
  99.     *rcNameID: =PAPER_SIZE_DISPLAY
  100.     *DefaultOption: LETTER
  101.     *Option: LETTER
  102.     {
  103.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  104.         *Command: CmdSelect
  105.         {
  106.             *Order: DOC_SETUP.4
  107.             *Cmd: "<1B>2<1B>CB"
  108.         }
  109.         *switch: InputBin
  110.         {
  111.             *case: TRACTOR
  112.             {
  113.                 *PrintableArea: PAIR(6120, 4752)
  114.                 *PrintableOrigin: PAIR(0, 0)
  115.             }
  116.             *case: MANUAL
  117.             {
  118.                 *PrintableArea: PAIR(6120, 4401)
  119.                 *PrintableOrigin: PAIR(0, 135)
  120.                 *switch: Resolution
  121.                 {
  122.                     *case: Option3
  123.                     {
  124.                         *PrintableArea: PAIR(6120, 4398)
  125.                         *PrintableOrigin: PAIR(0, 138)
  126.                     }
  127.                 }
  128.             }
  129.             *case: Option3
  130.             {
  131.                 *PrintableArea: PAIR(6120, 4401)
  132.                 *PrintableOrigin: PAIR(0, 135)
  133.                 *switch: Resolution
  134.                 {
  135.                     *case: Option3
  136.                     {
  137.                         *PrintableArea: PAIR(6120, 4398)
  138.                         *PrintableOrigin: PAIR(0, 138)
  139.                     }
  140.                 }
  141.             }
  142.             *case: Option4
  143.             {
  144.                 *PrintableArea: PAIR(6120, 4401)
  145.                 *PrintableOrigin: PAIR(0, 135)
  146.                 *switch: Resolution
  147.                 {
  148.                     *case: Option3
  149.                     {
  150.                         *PrintableArea: PAIR(6120, 4398)
  151.                         *PrintableOrigin: PAIR(0, 138)
  152.                     }
  153.                 }
  154.             }
  155.         }
  156.     }
  157.     *Option: LEGAL
  158.     {
  159.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  160.         *Command: CmdSelect
  161.         {
  162.             *Order: DOC_SETUP.4
  163.             *Cmd: "<1B>2<1B>CT"
  164.         }
  165.         *switch: InputBin
  166.         {
  167.             *case: TRACTOR
  168.             {
  169.                 *PrintableArea: PAIR(6120, 6048)
  170.                 *PrintableOrigin: PAIR(0, 0)
  171.             }
  172.             *case: MANUAL
  173.             {
  174.                 *PrintableArea: PAIR(6120, 5697)
  175.                 *PrintableOrigin: PAIR(0, 135)
  176.                 *switch: Resolution
  177.                 {
  178.                     *case: Option3
  179.                     {
  180.                         *PrintableArea: PAIR(6120, 5694)
  181.                         *PrintableOrigin: PAIR(0, 138)
  182.                     }
  183.                 }
  184.             }
  185.             *case: Option3
  186.             {
  187.                 *PrintableArea: PAIR(6120, 5697)
  188.                 *PrintableOrigin: PAIR(0, 135)
  189.                 *switch: Resolution
  190.                 {
  191.                     *case: Option3
  192.                     {
  193.                         *PrintableArea: PAIR(6120, 5694)
  194.                         *PrintableOrigin: PAIR(0, 138)
  195.                     }
  196.                 }
  197.             }
  198.             *case: Option4
  199.             {
  200.                 *PrintableArea: PAIR(6120, 5697)
  201.                 *PrintableOrigin: PAIR(0, 135)
  202.                 *switch: Resolution
  203.                 {
  204.                     *case: Option3
  205.                     {
  206.                         *PrintableArea: PAIR(6120, 5694)
  207.                         *PrintableOrigin: PAIR(0, 138)
  208.                     }
  209.                 }
  210.             }
  211.         }
  212.     }
  213.     *Option: A4
  214.     {
  215.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  216.         *Command: CmdSelect
  217.         {
  218.             *Order: DOC_SETUP.4
  219.             *Cmd: "<1B>2<1B>CF"
  220.         }
  221.         *switch: InputBin
  222.         {
  223.             *case: TRACTOR
  224.             {
  225.                 *PrintableArea: PAIR(5954, 5050)
  226.                 *PrintableOrigin: PAIR(0, 0)
  227.                 *switch: Resolution
  228.                 {
  229.                     *case: Option1
  230.                     {
  231.                         *PrintableArea: PAIR(5952, 5049)
  232.                     }
  233.                     *case: Option2
  234.                     {
  235.                         *PrintableArea: PAIR(5952, 5049)
  236.                     }
  237.                     *case: Option3
  238.                     {
  239.                         *PrintableArea: PAIR(5952, 5046)
  240.                     }
  241.                 }
  242.             }
  243.             *case: MANUAL
  244.             {
  245.                 *PrintableArea: PAIR(5954, 4699)
  246.                 *PrintableOrigin: PAIR(0, 135)
  247.                 *switch: Resolution
  248.                 {
  249.                     *case: Option1
  250.                     {
  251.                         *PrintableArea: PAIR(5952, 4698)
  252.                     }
  253.                     *case: Option2
  254.                     {
  255.                         *PrintableArea: PAIR(5952, 4698)
  256.                     }
  257.                     *case: Option3
  258.                     {
  259.                         *PrintableArea: PAIR(5952, 4692)
  260.                         *PrintableOrigin: PAIR(0, 138)
  261.                     }
  262.                 }
  263.             }
  264.             *case: Option3
  265.             {
  266.                 *PrintableArea: PAIR(5954, 4699)
  267.                 *PrintableOrigin: PAIR(0, 135)
  268.                 *switch: Resolution
  269.                 {
  270.                     *case: Option1
  271.                     {
  272.                         *PrintableArea: PAIR(5952, 4698)
  273.                     }
  274.                     *case: Option2
  275.                     {
  276.                         *PrintableArea: PAIR(5952, 4698)
  277.                     }
  278.                     *case: Option3
  279.                     {
  280.                         *PrintableArea: PAIR(5952, 4692)
  281.                         *PrintableOrigin: PAIR(0, 138)
  282.                     }
  283.                 }
  284.             }
  285.             *case: Option4
  286.             {
  287.                 *PrintableArea: PAIR(5954, 4699)
  288.                 *PrintableOrigin: PAIR(0, 135)
  289.                 *switch: Resolution
  290.                 {
  291.                     *case: Option1
  292.                     {
  293.                         *PrintableArea: PAIR(5952, 4698)
  294.                     }
  295.                     *case: Option2
  296.                     {
  297.                         *PrintableArea: PAIR(5952, 4698)
  298.                     }
  299.                     *case: Option3
  300.                     {
  301.                         *PrintableArea: PAIR(5952, 4692)
  302.                         *PrintableOrigin: PAIR(0, 138)
  303.                     }
  304.                 }
  305.             }
  306.         }
  307.     }
  308.     *Option: A3
  309.     {
  310.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  311.         *Command: CmdSelect
  312.         {
  313.             *Order: DOC_SETUP.4
  314.             *Cmd: "<1B>2<1B>Cc"
  315.         }
  316.         *switch: InputBin
  317.         {
  318.             *case: TRACTOR
  319.             {
  320.                 *PrintableArea: PAIR(8417, 7145)
  321.                 *PrintableOrigin: PAIR(0, 0)
  322.                 *switch: Resolution
  323.                 {
  324.                     *case: Option1
  325.                     {
  326.                         *PrintableArea: PAIR(8412, 7143)
  327.                     }
  328.                     *case: Option2
  329.                     {
  330.                         *PrintableArea: PAIR(8415, 7143)
  331.                     }
  332.                     *case: Option3
  333.                     {
  334.                         *PrintableArea: PAIR(8412, 7140)
  335.                     }
  336.                 }
  337.             }
  338.             *case: MANUAL
  339.             {
  340.                 *PrintableArea: PAIR(8417, 6794)
  341.                 *PrintableOrigin: PAIR(0, 135)
  342.                 *switch: Resolution
  343.                 {
  344.                     *case: Option1
  345.                     {
  346.                         *PrintableArea: PAIR(8412, 6792)
  347.                     }
  348.                     *case: Option2
  349.                     {
  350.                         *PrintableArea: PAIR(8415, 6792)
  351.                     }
  352.                     *case: Option3
  353.                     {
  354.                         *PrintableArea: PAIR(8412, 6786)
  355.                         *PrintableOrigin: PAIR(0, 138)
  356.                     }
  357.                 }
  358.             }
  359.             *case: Option3
  360.             {
  361.                 *PrintableArea: PAIR(8417, 6794)
  362.                 *PrintableOrigin: PAIR(0, 135)
  363.                 *switch: Resolution
  364.                 {
  365.                     *case: Option1
  366.                     {
  367.                         *PrintableArea: PAIR(8412, 6792)
  368.                     }
  369.                     *case: Option2
  370.                     {
  371.                         *PrintableArea: PAIR(8415, 6792)
  372.                     }
  373.                     *case: Option3
  374.                     {
  375.                         *PrintableArea: PAIR(8412, 6786)
  376.                         *PrintableOrigin: PAIR(0, 138)
  377.                     }
  378.                 }
  379.             }
  380.             *case: Option4
  381.             {
  382.                 *PrintableArea: PAIR(8417, 6794)
  383.                 *PrintableOrigin: PAIR(0, 135)
  384.                 *switch: Resolution
  385.                 {
  386.                     *case: Option1
  387.                     {
  388.                         *PrintableArea: PAIR(8412, 6792)
  389.                     }
  390.                     *case: Option2
  391.                     {
  392.                         *PrintableArea: PAIR(8415, 6792)
  393.                     }
  394.                     *case: Option3
  395.                     {
  396.                         *PrintableArea: PAIR(8412, 6786)
  397.                         *PrintableOrigin: PAIR(0, 138)
  398.                     }
  399.                 }
  400.             }
  401.         }
  402.     }
  403.     *Option: A5
  404.     {
  405.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  406.         *Command: CmdSelect
  407.         {
  408.             *Order: DOC_SETUP.4
  409.             *Cmd: "<1B>2<1B>C2"
  410.         }
  411.         *switch: InputBin
  412.         {
  413.             *case: TRACTOR
  414.             {
  415.                 *PrintableArea: PAIR(4198, 3573)
  416.                 *PrintableOrigin: PAIR(0, 0)
  417.                 *switch: Resolution
  418.                 {
  419.                     *case: Option1
  420.                     {
  421.                         *PrintableArea: PAIR(4194, 3573)
  422.                     }
  423.                     *case: Option2
  424.                     {
  425.                         *PrintableArea: PAIR(4197, 3573)
  426.                     }
  427.                     *case: Option3
  428.                     {
  429.                         *PrintableArea: PAIR(4194, 3570)
  430.                     }
  431.                 }
  432.             }
  433.             *case: MANUAL
  434.             {
  435.                 *PrintableArea: PAIR(4198, 3222)
  436.                 *PrintableOrigin: PAIR(0, 135)
  437.                 *switch: Resolution
  438.                 {
  439.                     *case: Option1
  440.                     {
  441.                         *PrintableArea: PAIR(4194, 3222)
  442.                     }
  443.                     *case: Option2
  444.                     {
  445.                         *PrintableArea: PAIR(4197, 3222)
  446.                     }
  447.                     *case: Option3
  448.                     {
  449.                         *PrintableArea: PAIR(4194, 3216)
  450.                         *PrintableOrigin: PAIR(0, 138)
  451.                     }
  452.                 }
  453.             }
  454.             *case: Option3
  455.             {
  456.                 *PrintableArea: PAIR(4198, 3222)
  457.                 *PrintableOrigin: PAIR(0, 135)
  458.                 *switch: Resolution
  459.                 {
  460.                     *case: Option1
  461.                     {
  462.                         *PrintableArea: PAIR(4194, 3222)
  463.                     }
  464.                     *case: Option2
  465.                     {
  466.                         *PrintableArea: PAIR(4197, 3222)
  467.                     }
  468.                     *case: Option3
  469.                     {
  470.                         *PrintableArea: PAIR(4194, 3216)
  471.                         *PrintableOrigin: PAIR(0, 138)
  472.                     }
  473.                 }
  474.             }
  475.             *case: Option4
  476.             {
  477.                 *PrintableArea: PAIR(4198, 3222)
  478.                 *PrintableOrigin: PAIR(0, 135)
  479.                 *switch: Resolution
  480.                 {
  481.                     *case: Option1
  482.                     {
  483.                         *PrintableArea: PAIR(4194, 3222)
  484.                     }
  485.                     *case: Option2
  486.                     {
  487.                         *PrintableArea: PAIR(4197, 3222)
  488.                     }
  489.                     *case: Option3
  490.                     {
  491.                         *PrintableArea: PAIR(4194, 3216)
  492.                         *PrintableOrigin: PAIR(0, 138)
  493.                     }
  494.                 }
  495.             }
  496.         }
  497.     }
  498.     *Option: B5
  499.     {
  500.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  501.         *Command: CmdSelect
  502.         {
  503.             *Order: DOC_SETUP.4
  504.             *Cmd: "<1B>2<1B>C="
  505.         }
  506.         *switch: InputBin
  507.         {
  508.             *case: TRACTOR
  509.             {
  510.                 *PrintableArea: PAIR(5162, 4372)
  511.                 *PrintableOrigin: PAIR(0, 0)
  512.                 *switch: Resolution
  513.                 {
  514.                     *case: Option1
  515.                     {
  516.                         *PrintableArea: PAIR(5160, 4371)
  517.                     }
  518.                     *case: Option2
  519.                     {
  520.                         *PrintableArea: PAIR(5160, 4371)
  521.                     }
  522.                     *case: Option3
  523.                     {
  524.                         *PrintableArea: PAIR(5160, 4368)
  525.                     }
  526.                 }
  527.             }
  528.             *case: MANUAL
  529.             {
  530.                 *PrintableArea: PAIR(5162, 4021)
  531.                 *PrintableOrigin: PAIR(0, 135)
  532.                 *switch: Resolution
  533.                 {
  534.                     *case: Option1
  535.                     {
  536.                         *PrintableArea: PAIR(5160, 4020)
  537.                     }
  538.                     *case: Option2
  539.                     {
  540.                         *PrintableArea: PAIR(5160, 4020)
  541.                     }
  542.                     *case: Option3
  543.                     {
  544.                         *PrintableArea: PAIR(5160, 4014)
  545.                         *PrintableOrigin: PAIR(0, 138)
  546.                     }
  547.                 }
  548.             }
  549.             *case: Option3
  550.             {
  551.                 *PrintableArea: PAIR(5162, 4021)
  552.                 *PrintableOrigin: PAIR(0, 135)
  553.                 *switch: Resolution
  554.                 {
  555.                     *case: Option1
  556.                     {
  557.                         *PrintableArea: PAIR(5160, 4020)
  558.                     }
  559.                     *case: Option2
  560.                     {
  561.                         *PrintableArea: PAIR(5160, 4020)
  562.                     }
  563.                     *case: Option3
  564.                     {
  565.                         *PrintableArea: PAIR(5160, 4014)
  566.                         *PrintableOrigin: PAIR(0, 138)
  567.                     }
  568.                 }
  569.             }
  570.             *case: Option4
  571.             {
  572.                 *PrintableArea: PAIR(5162, 4021)
  573.                 *PrintableOrigin: PAIR(0, 135)
  574.                 *switch: Resolution
  575.                 {
  576.                     *case: Option1
  577.                     {
  578.                         *PrintableArea: PAIR(5160, 4020)
  579.                     }
  580.                     *case: Option2
  581.                     {
  582.                         *PrintableArea: PAIR(5160, 4020)
  583.                     }
  584.                     *case: Option3
  585.                     {
  586.                         *PrintableArea: PAIR(5160, 4014)
  587.                         *PrintableOrigin: PAIR(0, 138)
  588.                     }
  589.                 }
  590.             }
  591.         }
  592.     }
  593.     *Option: FANFOLD_US
  594.     {
  595.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  596.         *Command: CmdSelect
  597.         {
  598.             *Order: DOC_SETUP.4
  599.             *Cmd: "<1B>2<1B>CB"
  600.         }
  601.         *switch: InputBin
  602.         {
  603.             *case: TRACTOR
  604.             {
  605.                 *PrintableArea: PAIR(9792, 4752)
  606.                 *PrintableOrigin: PAIR(0, 0)
  607.             }
  608.             *case: MANUAL
  609.             {
  610.                 *PrintableArea: PAIR(9792, 4401)
  611.                 *PrintableOrigin: PAIR(0, 135)
  612.                 *switch: Resolution
  613.                 {
  614.                     *case: Option3
  615.                     {
  616.                         *PrintableArea: PAIR(9792, 4398)
  617.                         *PrintableOrigin: PAIR(0, 138)
  618.                     }
  619.                 }
  620.             }
  621.             *case: Option3
  622.             {
  623.                 *PrintableArea: PAIR(9792, 4401)
  624.                 *PrintableOrigin: PAIR(0, 135)
  625.                 *switch: Resolution
  626.                 {
  627.                     *case: Option3
  628.                     {
  629.                         *PrintableArea: PAIR(9792, 4398)
  630.                         *PrintableOrigin: PAIR(0, 138)
  631.                     }
  632.                 }
  633.             }
  634.             *case: Option4
  635.             {
  636.                 *PrintableArea: PAIR(9792, 4401)
  637.                 *PrintableOrigin: PAIR(0, 135)
  638.                 *switch: Resolution
  639.                 {
  640.                     *case: Option3
  641.                     {
  642.                         *PrintableArea: PAIR(9792, 4398)
  643.                         *PrintableOrigin: PAIR(0, 138)
  644.                     }
  645.                 }
  646.             }
  647.         }
  648.     }
  649.     *Option: Option8
  650.     {
  651.         *rcNameID: 258
  652.         *PageDimensions: PAIR(6120, 5184)
  653.         *Command: CmdSelect
  654.         {
  655.             *Order: DOC_SETUP.4
  656.             *Cmd: "<1B>2<1B>CH"
  657.         }
  658.         *switch: InputBin
  659.         {
  660.             *case: TRACTOR
  661.             {
  662.                 *PrintableArea: PAIR(6120, 5184)
  663.                 *PrintableOrigin: PAIR(0, 0)
  664.             }
  665.             *case: MANUAL
  666.             {
  667.                 *PrintableArea: PAIR(6120, 4833)
  668.                 *PrintableOrigin: PAIR(0, 135)
  669.                 *switch: Resolution
  670.                 {
  671.                     *case: Option3
  672.                     {
  673.                         *PrintableArea: PAIR(6120, 4830)
  674.                         *PrintableOrigin: PAIR(0, 138)
  675.                     }
  676.                 }
  677.             }
  678.             *case: Option3
  679.             {
  680.                 *PrintableArea: PAIR(6120, 4833)
  681.                 *PrintableOrigin: PAIR(0, 135)
  682.                 *switch: Resolution
  683.                 {
  684.                     *case: Option3
  685.                     {
  686.                         *PrintableArea: PAIR(6120, 4830)
  687.                         *PrintableOrigin: PAIR(0, 138)
  688.                     }
  689.                 }
  690.             }
  691.             *case: Option4
  692.             {
  693.                 *PrintableArea: PAIR(6120, 4833)
  694.                 *PrintableOrigin: PAIR(0, 135)
  695.                 *switch: Resolution
  696.                 {
  697.                     *case: Option3
  698.                     {
  699.                         *PrintableArea: PAIR(6120, 4830)
  700.                         *PrintableOrigin: PAIR(0, 138)
  701.                     }
  702.                 }
  703.             }
  704.         }
  705.     }
  706.     *Option: CUSTOMSIZE
  707.     {
  708.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  709.         *MinSize: PAIR(720, 432)
  710.         *MaxSize: PAIR(10080, 9504)
  711.         *MaxPrintableWidth: 9792
  712.         *MinLeftMargin: 0
  713.         *CenterPrintable?: FALSE
  714.         *switch: InputBin
  715.         {
  716.             *case: TRACTOR
  717.             {
  718.                 *TopMargin: 0
  719.                 *BottomMargin: 0
  720.             }
  721.             *case: MANUAL
  722.             {
  723.                 *TopMargin: 135
  724.                 *BottomMargin: 216
  725.             }
  726.             *case: Option3
  727.             {
  728.                 *TopMargin: 135
  729.                 *BottomMargin: 216
  730.             }
  731.             *case: Option4
  732.             {
  733.                 *TopMargin: 135
  734.                 *BottomMargin: 216
  735.             }
  736.         }
  737.         *Command: CmdSelect
  738.         {
  739.             *Order: DOC_SETUP.4
  740.             *Cmd: "<1B>2"
  741.         }
  742.     }
  743. }
  744. *Feature: PrintQuality
  745. {
  746.     *rcNameID: =TEXT_QUALITY_DISPLAY
  747.     *DefaultOption: LETTER_QUALITY
  748.     *Option: LETTER_QUALITY
  749.     {
  750.         *rcNameID: =LETTER_QUALITY_DISPLAY
  751.         *Command: CmdSelect
  752.         {
  753.             *Order: DOC_SETUP.2
  754.             *Cmd: "<1B>x<01>"
  755.         }
  756.     }
  757.     *Option: DRAFT_QUALITY
  758.     {
  759.         *rcNameID: =DRAFT_QUALITY_DISPLAY
  760.         *Command: CmdSelect
  761.         {
  762.             *Order: DOC_SETUP.2
  763.             *Cmd: "<1B>x<00>"
  764.         }
  765.     }
  766. }
  767. *Feature: ColorMode
  768. {
  769.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  770.     *DefaultOption: Color
  771.     *Option: Mono
  772.     {
  773.         *rcNameID: =MONO_DISPLAY
  774.         *DevNumOfPlanes: 1
  775.         *DevBPP: 1
  776.         *Color? : FALSE
  777.     }
  778.     *Option: Color
  779.     {
  780.         *rcNameID: =COLOR_DISPLAY
  781.         *DevNumOfPlanes: 4
  782.         *DevBPP: 1
  783.         *DrvBPP: 4
  784.         EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  785.         *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  786.         *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  787.         *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  788.         *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  789.         *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  790.         *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  791.         *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  792.         *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  793.         *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  794.         *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  795.         *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  796.         *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  797.     }
  798. }
  799. *Feature: Halftone
  800. {
  801.     *rcNameID: =HALFTONING_DISPLAY
  802.     *DefaultOption: HT_PATSIZE_AUTO
  803.     *Option: HT_PATSIZE_AUTO
  804.     {
  805.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  806.     }
  807. *Ifdef: WINNT_50
  808.     *Option: HT_PATSIZE_SUPERCELL_M
  809.     {
  810.         *rcNameID: =HT_SUPERCELL_DISPLAY
  811.     }
  812. *Endif:
  813.     *Option: HT_PATSIZE_6x6_M
  814.     {
  815.         *rcNameID: =HT_DITHER6X6_DISPLAY
  816.     }
  817.     *Option: HT_PATSIZE_8x8_M
  818.     {
  819.         *rcNameID: =HT_DITHER8X8_DISPLAY
  820.     }
  821. }
  822. *Command: CmdStartDoc
  823. {
  824.     *Order: DOC_SETUP.1
  825.     *Cmd: "<1B>@<0D1B>t<011B>6<1B>R<001B>P"
  826. }
  827. *Command: CmdStartPage
  828. {
  829.     *Order: PAGE_SETUP.1
  830.     *Cmd: "<0D>"
  831. }
  832. *Command: CmdEndJob
  833. {
  834.     *Order: JOB_FINISH.1
  835.     *Cmd: "<0D>"
  836. }
  837. *RotateCoordinate?: FALSE
  838. *RotateRaster?: FALSE
  839. *RotateFont?: FALSE
  840. *switch: Orientation
  841. {
  842.     *case: PORTRAIT
  843.     {
  844.         *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  845.     }
  846.     *case: LANDSCAPE_CC270
  847.     {
  848.         *TextCaps: LIST(TC_RA_ABLE)
  849.     }
  850. }
  851. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  852. *YMoveAttributes: LIST(SEND_CR_FIRST)
  853. *MaxLineSpacing: 255
  854. *XMoveThreshold: *
  855. *YMoveThreshold: *
  856. *XMoveUnit: 120
  857. *YMoveUnit: 216
  858. *Command: CmdXMoveRelRight { *Cmd : "<1B>\" %l{(DestXRel / 6) } }
  859. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  860. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  861. *Command: CmdCR { *Cmd : "<0D>" }
  862. *Command: CmdLF { *Cmd : "<0A>" }
  863. *Command: CmdFF { *Cmd : "<0C>" }
  864. *Command: CmdBackSpace { *Cmd : "<08>" }
  865. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  866. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  867. *EjectPageWithFF?: TRUE
  868. *switch: PaperSize
  869. {
  870.     *case: CUSTOMSIZE
  871.     {
  872.         *EjectPageWithFF?: FALSE
  873.         *switch: InputBin
  874.         {
  875.             *case: MANUAL
  876.             {
  877.                 *EjectPageWithFF?: TRUE
  878.             }
  879.             *case: Option3
  880.             {
  881.                 *EjectPageWithFF?: TRUE
  882.             }
  883.             *case: Option4
  884.             {
  885.                 *EjectPageWithFF?: TRUE
  886.             }
  887.         }
  888.     }
  889. }
  890. *OutputDataFormat: V_BYTE
  891. *OptimizeLeftBound?: FALSE
  892. *CursorXAfterSendBlockData: AT_GRXDATA_END
  893. *CursorYAfterSendBlockData: NO_MOVE
  894. *DefaultFont: 1
  895. *DefaultCTT: 1
  896. *switch: Orientation
  897. {
  898.     *case: PORTRAIT
  899.     {
  900.         *DeviceFonts: LIST(1,2,4,5,6,7,8,9,15,17,18,19,21,22,23,24,
  901. +                   25,26,32,34)
  902.     }
  903.     *case: LANDSCAPE_CC270
  904.     {
  905.         *DeviceFonts: LIST()
  906.     }
  907. }
  908. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  909. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  910. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  911. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  912. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  913. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  914.